from typing import Protocol

from poker_bot.core.models.dto import DiscountDTO


class DiscountReader(Protocol):
    async def get_discount_by_id(self, discount_id: int) -> DiscountDTO | None:
        raise NotImplementedError

    async def get_discounts(self) -> list[DiscountDTO]:
        raise NotImplementedError
